package hibernate2;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "student_registor")
@Entity
public class StudentRegistor {
	@Override
	public String toString() {
		return "StudentRegistor [id=" + id + ", status=" + status + ", create_time=" + create_time + "]";
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getCreate_time() {
		return create_time;
	}

	public void setCreate_time(String create_time) {
		this.create_time = create_time;
	}

	@Id
	@Column(name = "id")
	private int id;
	@Column(name = "status")
	private String status;
	@Column(name = "create_time")
	private String create_time;
}
